import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import * as echarts from 'echarts'
import '@/assets/style/index.css'
import 'lib-flexible'
// highCharts
import highcharts from 'highcharts'
import VueHighCharts from 'vue-highcharts'
import highcharts3d from 'highcharts/highcharts-3d'
 
Vue.use(ElementUI)
Vue.prototype.$echarts = echarts

// highCharts绘制3d饼图
// npm install vue-highcharts --save
// npm install highcharts --save
highcharts3d(highcharts)

Vue.config.productionTip = false

// ???????????????????????????????????????????中间弹框有时候会请求两次是因为俩监听的参数所在dom在父页面刷新了导致重新请求????????????????????????????

// *************************   适配--star--安装环境需更改node_modules/lib-flexible/flexible.js 71-73行判断为如下代码   ************************* 
// if (width / dpr < 1366) {
//   width = 1366 * dpr;
// } else if (width / dpr > 1920) {
//   width = 1920 * dpr;
// }
// *************************   适配--end   ************************************************** ************************* ***********************

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
